<?php if (!defined('THINK_PATH')) exit();?>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="__PUBLIC__/css/common.css">
<link rel="stylesheet" href="__PUBLIC__/css/main.css">
<script type="text/javascript" src="__PUBLIC__/js/jquery.min.js"></script>
<script type="text/javascript"
	src="__PUBLIC__/js/colResizable-1.3.min.js"></script>
<script type="text/javascript" src="__PUBLIC__/js/common.js"></script>

<link rel="stylesheet" type="text/css"
	href="__PUBLIC__/css/SimpleTree.css" />
<script type="text/javascript">
      $(function(){  
        $(".list_table").colResizable({
          liveDrag:true,
          gripInnerHtml:"<div class='grip'></div>", 
          draggingClass:"dragging", 
          minWidth:30
        }); 
        
      }); 
   </script>
<title>帖子详情</title>
</head>
<body>
<!--
 登陆成功<?php echo ($_SESSION['user']['username']); ?>
 -->
<div id="forms" class="mt10">
<div class="box">
<div class="box_border">
<div class="box_top"><b class="pl15">帖子详情</b></div>
<div class="box_center">
<table class="form_table pt15 pb15" width="100%" border="0"
	cellpadding="0" cellspacing="0">
	<tr>
		<td class="td_right">标题:</td>
		<td class=""><?php echo ($list["title"]); ?></td>
	</tr>
	<tr>
		<td class="td_right">内容:</td>
		<td class=""><?php echo ($list["content"]); ?></td>
	</tr>
	<tr>
		<td class="td_right">用户姓名:</td>
		<td class=""><?php echo ($list["name"]); ?></td>
	</tr>
	<tr>
		<td class="td_right">发布时间:</td>
		<td class=""><?php echo ($list["create_time"]); ?></td>
	</tr>
</table>
</div>
<div class="box_top"><b class="pl15">回复内容</b></div>
<div class="box_center">
<table class="form_table pt15 pb15" width="100%" border="0"
	cellpadding="0" cellspacing="0">
	<?php if(is_array($noteOne)): foreach($noteOne as $key=>$one): ?>
	<tr>
		<td class="">&nbsp;</td>
		<td><b><?php echo ($key+1); ?>楼: </b><?php echo ($one["name"]); ?></td>
		<td class=""><?php echo ($one["create_time"]); ?></td>
	</tr>
	<tr>
		<td class="">&nbsp;</td>
		<td align='left' colspan="2"><?php echo ($one["message"]); ?></td>
	</tr>
	<?php if(is_array($noteTwo)): foreach($noteTwo as $key=>$two): if(($one["id"] == $two[r_id])): ?>
	<tr>
		<td class="">&nbsp;</td>
		<td><?php echo ($two["name"]); ?>>回复><?php echo ($two["twoname"]); ?></td>
		<td class=""><?php echo ($two["create_time"]); ?></td>
	</tr>
	<tr>
		<td class="">&nbsp;</td>
		<td align='left' colspan="2"><?php echo ($two["message"]); ?></td>
	</tr>
	<?php endif; endforeach; endif; ?>
	<tr>
		<td colspan="3">-------------------------------------------------------------------------------------------------------------------------------</td>
	</tr>
	<?php endforeach; endif; ?>
	<tr class="tr">
		<td colspan='3' align='center'><?php echo ($page); ?></td>
	</tr>
	<tr>
		<td class="td_right">&nbsp;</td>
		<td class=""><input type="button" value="返回"
			onclick="location.href='javascript:history.go(-1)'" class="ext_btn">
		</td>
	</tr>
</table>

</div>
</div>

<!-- <div class="st_tree" style="margin-left: 30px">
	         	<?php function wareRole($allrole) { if($allrole) { echo '<ul>'; foreach ($allrole as $key=>$value) { echo "<li class='folder open'>"."<b>".$value['i']."</b>".$value['name']."&nbsp;&nbsp;&nbsp;&nbsp;".$value['create_time']."<br/>".$value['message'].'</li>'; wareRole($value['child']); } echo '</ul>'; } } wareRole($allrole) ?>
	         </div>	 --></div>
</div>
</div>
</body>
